projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db19511
)
Tolerate errors while recompiling all packages
author
Philip Kaludercic
<philipk@posteo.net>
Tue, 6 Feb 2024 19:12:15 +0000
(20:12 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Sun, 11 Feb 2024 21:50:29 +0000
(22:50 +0100)
* lisp/emacs-lisp/package.el (package-recompile-all): Demote errors
raised by 'package-recompile'. (Bug#68678)
lisp/emacs-lisp/package.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package.el
b/lisp/emacs-lisp/package.el
index 868373f46c2e886aae4e7c8c37faf007a3cf6027..fe7b10f569af8b5ab0ccf7059aeb3837a7c345e3 100644
(file)
--- a/
lisp/emacs-lisp/package.el
+++ b/
lisp/emacs-lisp/package.el
@@
-2610,7
+2610,8
@@
This is meant to be used only in the case the byte-compiled files
are invalid due to changed byte-code, macros or the like."
(interactive)
(pcase-dolist (`(_ ,pkg-desc) package-alist)
- (package-recompile pkg-desc)))
+ (with-demoted-errors "Error while recompiling: %S"
+ (package-recompile pkg-desc))))
;;;###autoload
(defun package-autoremove ()